package com.ctshk.rpc.order.goods.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ctshk.rpc.order.goods.dto.WriteOffRecordPageListDTO;
import com.ctshk.rpc.order.goods.entity.WriteOffRecord;
import com.ctshk.rpc.order.goods.mapper.provider.WriteOffRecordProvider;
import com.ctshk.rpc.order.goods.req.OrderPageListPageReq;
import org.apache.ibatis.annotations.SelectProvider;

/**
 * <p>
 * 核销记录表 Mapper 接口
 * </p>
 *
 * @author 姜斌文
 * @since 2021-04-29
 */
public interface WriteOffRecordMapper extends BaseMapper<WriteOffRecord> {

    @SelectProvider(type = WriteOffRecordProvider.class, method = "findWriteOffRecordPageByCondition")
    IPage<WriteOffRecordPageListDTO> findWriteOffRecordPageByCondition(IPage<WriteOffRecordPageListDTO> page, OrderPageListPageReq req);
}
